import { Base } from '../../utils/base.js';
class Findjob extends Base {
    constructor() {
        super();
    }

    /*banner图片信息*/
    getJobListData(callback, params) {
        var that = this;
        var param = {
            url: 'addons/zpwxsys/v1.Job/getJoblist',
            type: 'post',
            data: params,
            sCallback: function (data) {
                data = data;
                if (callback) {
                    callback(data);
                }
            }
        };
        this.request(param);
    }
    getJobDetailData(callback, params) {
        var that = this;
        var param = {
            url: 'addons/zpwxsys/v1.Job/getJobdetail',
            data: params,
            sCallback: function (data) {
                data = data;
                if (callback) {
                    callback(data);
                }
            }
        };
        this.request(param);
    }
    getqrcodejob(callback, params) {
        var that = this;
        var param = {
            url: 'addons/zpwxsys/v1.Job/getqrcodejob',
            data: params,
            sCallback: function (data) {
                data = data;
                if (callback) {
                    callback(data);
                }
            }
        };
        this.request(param);
    }
    sendJob(callback, params) {
        var that = this;
        var param = {
            url: 'addons/zpwxsys/v1.Job/sendJob',
            type: 'post',
            data: params,
            sCallback: function (data) {
                data = data;
                if (callback) {
                    callback(data);
                }
            }
        };
        this.request(param);
    }
    jobSave(callback, params) {
        var that = this;
        var param = {
            url: 'addons/zpwxsys/v1.Job/jobSave',
            type: 'post',
            data: params,
            sCallback: function (data) {
                data = data;
                if (callback) {
                    callback(data);
                }
            }
        };
        this.request(param);
    }
    cancleSave(callback, params) {
        var that = this;
        var param = {
            url: 'addons/zpwxsys/v1.Job/cancleSave',
            type: 'post',
            data: params,
            sCallback: function (data) {
                data = data;
                if (callback) {
                    callback(data);
                }
            }
        };
        this.request(param);
    }
	jobcancel(callback, params) {
	    var that = this;
	    var param = {
	        url: 'addons/zpwxsys/v1.Job/jobcancel',
	        type: 'post',
	        data: params,
	        sCallback: function (data) {
	            data = data;
	            if (callback) {
	                callback(data);
	            }
	        }
	    };
	    this.request(param);
	}
    myFindjob(callback, params) {
        var that = this;
        var param = {
            url: 'addons/zpwxsys/v1.Job/myFindJob',
            type: 'post',
            data: params,
            sCallback: function (data) {
                data = data;
                if (callback) {
                    callback(data);
                }
            }
        };
        this.request(param);
    }
    mySavejob(callback, params) {
        var that = this;
        var param = {
            url: 'addons/zpwxsys/v1.Job/mySaveJob',
            type: 'post',
            data: params,
            sCallback: function (data) {
                data = data;
                if (callback) {
                    callback(data);
                }
            }
        };
        this.request(param);
    }
}
export { Findjob };
